WeglotWP\Services\Request_Url_Service_Weglot A

Total Complexity 66
Dependencies 5
Dependents 24
Total lines 339
Lines of code 178
Logical lines of code 101
Comment lines 109
Methods 13
Properties 3

Methods 13

Method Rating Maintainability Complexity Lines of code
get_current_canonical_url()
A
46 13 43
get_home_wordpress_directory()
A
52 9 22
is_rest()
A
58 9 13
url_to_relative()
S
57 8 14
get_current_language()
S
58 6 14
create_url_object()
S
51 5 28
is_allowed_private()
S
62 6 10
is_eligible_url()
S
59 4 14
get_weglot_url()
S
71 2 6
__construct()
S
76 1 4
init_weglot_url()
S
76 1 4
get_full_url()
S
79 1 3
clean_url_slashes()
S
79 1 3